﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.SMS.Gateway.Host
{
    public enum SendStatus{
        SystemWrong,
        OK,
        WrongToken,
        NoRight,
        NoMoney,
        EmptyContent,
        WrongMoblie
    };

    public enum MsgStates { 
        Error,
        Waiting,
        Success,
        Fail
    };

    public interface ISMSProvider
    {
        SMSResult SendMsg(string moblie, string content);
        MsgResult QueryMsgState(string MassageId);
    }

    public class SMSResult
    {
        public SendStatus Status { get; set; }
        public string MessageId { get; set; }
    }

    public class MsgResult
    {
        public MsgStates status { get; set; }
        public string mobile { get; set; }
        public string scheduleDate { get; set; }
        public string deliverstate { get; set; }
        public string deliverdonetime { get; set; }
    }
}
